package com.sinothk.map.amap.location.demo;

import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.sinothk.map.amap.base.MapNaviCallback;
import com.sinothk.map.amap.MapNaviManager;

import java.util.ArrayList;

public class NaviDemoMainActivity extends AppCompatActivity {
    String TAG = NaviDemoMainActivity.class.getSimpleName();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_navi_demo_main);
    }

    public void naviByThreeBtn(View view) {
//        MapNaviManager.openGaodeMap(this, "test", 107.009, 26.005, MapNaviManager.DATA_FROM_GAODE);

        MapNaviManager.openNavi(this, "test", 107.009, 26.005, MapNaviManager.DATA_FROM_GAODE, new MapNaviCallback() {
            @Override
            public void onHaveManyMapApp(ArrayList<String> pkgList) {

            }
        });
    }
}
